home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ WheelMouse Lines.xpl
< prev
next >
Wrap
Text File
|
1999-08-30
|
1KB
|
49 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="2"
"COUNT"="1"
"UIPATH"="General Usage\Mouse"
"NAME"="Wheelmouse Scroll"
"LANGUAGE"="VBScript"
"TEXT 1"="Lines"
"DESCRIPTION 1"="Use this setting to specify how many lines a window should scroll if you use the wheel on your mouse."
"DESCRIPTION 2"="To stop scrolling with the wheel, use "0"."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"="Version 1.21"
sP="HKCU\Control Panel\Desktop\WheelScrollLines"
'Called when the Plugin is started
SUB Plugin_Initialize
i=RegReadValue(sP)
if IsEmpty(i) then
SetUIElement 1,""
else
SetUIElement 1,i
end if
END SUB
'Called when the Plugin should validate the Data the user has entered
SUB Plugin_CheckData(ElementIndex)
END SUB
'Called when the Plugin should apply the changes
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if len(s)<>0 then
Call RegWriteValue(sP,s,1)
Call Restart
else
Call MsgError("Please supply a number!")
end if
END SUB
'Called when the Plugin is about to be removed from memory
SUB Plugin_Terminate
END SUB